package com.mao.dao.store;

import org.hibernate.Session;
import org.springframework.stereotype.Component;

import com.mao.dao.BaseDAOHibernate;
import com.mao.model.store.Store;

@Component("storeDao")
public class StoreDao extends BaseDAOHibernate{
	
	public Store load(long id){
		Session session = this.getSession();
		return (Store) session.load(Store.class, id);
	}
	

}
